/*	BuildFactory class declaration.
 *
*/

#ifndef BuildFactory_H_
#define BuildFactory_H_

#include "Behavior.h"
#include <BWAPI.h>

class BuildFactory : public Behavior
{
public:
	BuildFactory(std::string incName = "BuildFactory") : Behavior(incName), builder(NULL) { }
	
	void Enter();
	void Execute();
	void Exit();

	bool CheckConditions();

private:
	Base* base;
	BWAPI::Unit* builder;
};

#endif